﻿using System.Collections.Generic;
using Nop.Web.Framework.Mvc;

namespace Nop.Admin.Models.Logistics
{
    public partial class PlannedRouteModel : BaseNopEntityModel
    {
        private IList<PackageLocationModel> _packageLocations;

        public int PlanId;

        public string CourierName { get; set; }

        public MapContextModel MapContext { get; set; }

        public int aggregatorfaildelivery { get; set; }
        public int aggregatorfailpickup { get; set; }
        public int aggregatorsuccessdelivery { get; set; }
        public int aggregatorsuccesspickup { get; set; }
        public virtual IList<PackageLocationModel> PackageLocations
        {
            get { return _packageLocations ?? (_packageLocations = new List<PackageLocationModel>()); }
            set { _packageLocations = value; }
        }
    }
}